import Vue from 'vue'
import 'iview/dist/styles/iview.css'

import {
  Affix,
  Anchor,
  AnchorLink,
  Breadcrumb,
  BreadcrumbItem,
  Button,
  ButtonGroup,
  Card,
  Collapse,
  Content,
  Divider,
  Footer,
  Form,
  FormItem,
  Header,
  Icon,
  Input,
  Layout,
  Message,
  MenuGroup,
  Menu,
  MenuItem,
  Modal,
  Notice,
  Option,
  Panel,
  Row,
  Select,
  Sider,
  Split,
  Submenu,
  Tooltip
} from 'iview'

Vue.component('Affix', Affix)
Vue.component('Anchor', Anchor)
Vue.component('AnchorLink', AnchorLink)
Vue.component('Breadcrumb', Breadcrumb)
Vue.component('BreadcrumbItem', BreadcrumbItem)
Vue.component('Button', Button)
Vue.component('ButtonGroup', ButtonGroup)
Vue.component('Card', Card)
Vue.component('Collapse', Collapse)
Vue.component('Content', Content)
Vue.component('Divider', Divider)
Vue.component('Footer', Footer)
Vue.component('Form', Form)
Vue.component('FormItem', FormItem)
Vue.component('Header', Header)
Vue.component('Icon', Icon)
Vue.component('Input', Input)
Vue.component('Layout', Layout)
Vue.component('Message', Message)
Vue.component('MenuGroup', MenuGroup)
Vue.component('Menu', Menu)
Vue.component('MenuItem', MenuItem)
Vue.component('Modal', Modal)
Vue.component('Notice', Notice)
Vue.component('Option', Option)
Vue.component('Panel', Panel)
Vue.component('Row', Row)
Vue.component('Select', Select)
Vue.component('Sider', Sider)
Vue.component('Split', Split)
Vue.component('Submenu', Submenu)
Vue.component('Tooltip', Tooltip)
Vue.prototype.$Modal = Modal
Vue.prototype.$Message = Message
